package org.example;

public class Hello_World {
    private String name;

    public void setName(String name) {
        System.out.println("setName ： " + name);
        this.name = name;
    }

    public void hello(){
        System.out.println("hello ：" + name);
    }

    public Hello_World() {
        System.out.println("HelloWorld's constructor...");
    }

    public Hello_World(String name) {
        System.out.println("HelloWorld's constructor with arg...");
        this.name = name;
    }
}
